//
//  CKSegmentBar.h
//  CKPagerComponent
//
//  Created by mac on 2017/5/1.
//  Copyright © 2017年 corkiios. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CKSegmentBarConfig.h"

@interface CKSegmentBar : UIView

@property (nonatomic, strong) NSArray <NSString *>*items;

@property (nonatomic, assign) NSInteger selectedIndex;


@property (nonatomic,strong)UIScrollView *contentScrollView;

+ (instancetype)segmentBarWithFrame:(CGRect)frame;

- (void)didSelectedCompleteBlock:(void(^)(NSInteger index))completeBlock;

@end
